{
  "properties" : { },
  "id" : "867e7c8daade4e1f9ef4364eb9c14c3f",
  "script" : null,
  "groupId" : "74af8e1135d2474eb9b6b4081e6d5967",
  "name" : "查询拓扑历史信息",
  "createTime" : 1727071040599,
  "updateTime" : 1726653322461,
  "lock" : "1",
  "createBy" : "ndmp",
  "updateBy" : "ndmp",
  "path" : "detailHis",
  "method" : "GET",
  "parameters" : [ {
    "name" : "id",
    "value" : "1833779590038863874",
    "description" : null,
    "required" : false,
    "dataType" : "String",
    "type" : null,
    "defaultValue" : null,
    "validateType" : null,
    "error" : null,
    "expression" : null,
    "children" : null
  } ],
  "options" : [ ],
  "requestBody" : "",
  "headers" : [ ],
  "paths" : [ ],
  "responseBody" : "{\n    \"code\": 500,\n    \"success\": false,\n    \"data\": {},\n    \"msg\": \"系统维护中，请稍后重试。\"\n}",
  "description" : null,
  "requestBodyDefinition" : null,
  "responseBodyDefinition" : null
}
================================
import response

var detail = db.table("ndmp_topo_msg_history").where().eq("id", id).selectOne()

return response.download(detail.get("topology"), "dd")